import {I18Parse} from "@lowcode/jpaas-common-lib";
import exceptionLang from '../../locales/lang/impl/components/exceptionLang';
let lang = exceptionLang;
let i18n=function (langKey,text) {
    return I18Parse.getI18Val(lang.exceptionLang.msgTips,langKey, text)
}

const types = {
  403: {
    img: 'https://gw.alipayobjects.com/zos/rmsportal/wZcnGqRDyhPOEYFcZDnb.svg',
    title: '403',
    desc: i18n('notHaveRigth','抱歉，你无权访问该页面')
  },
  404: {
    img: 'https://gw.alipayobjects.com/zos/rmsportal/KpnpchXsobRgLElEozzI.svg',
    title: '404',
    desc: i18n('notExist','抱歉，你访问的页面不存在或仍在开发中')
  },
  500: {
    img: 'https://gw.alipayobjects.com/zos/rmsportal/RVRUAYdCGeYNBWoKiIwB.svg',
    title: '500',
    desc: i18n('notServer','抱歉，服务器出错了')
  }
}

export default types
